using RenameX.Models;

namespace RenameX.Rules
{
    public class ExtensionChangeRule : RuleBase
    {
        public override string Name => "扩展名";

        private string _newExtension = string.Empty; // without dot
        public string NewExtension { get => _newExtension; set => SetProperty(ref _newExtension, value); }

        public override string Apply(string originalName)
        {
            // Does not change base name; extension will be applied in VM
            return originalName;
        }
    }
}


